package com.fz.mapper;

import com.fz.controller.request.BaseRequest;
import com.fz.pojo.ReturnBooks;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ReturnBooksMapper {
    List<ReturnBooks> listReturnByCondition(BaseRequest baseRequest);

    //还书
    void addReturn(com.fz.pojo.ReturnBooks returnBooks);

    void deleteReturnById(Integer id);
}
